Optimal. Leaf size=29 \[ \frac{2 \tan (x)}{3 \sqrt{\sec ^2(x)}}+\frac{\tan (x)}{3 \sec ^2(x)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0105769, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {4122, 192, 191} \[ \frac{2 \tan (x)}{3 \sqrt{\sec ^2(x)}}+\frac{\tan (x)}{3 \sec ^2(x)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4122
Rule 192
Rule 191
Rubi steps
\begin{align*} \int \frac{1}{\sec ^2(x)^{3/2}} \, dx &=\operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{5/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{3 \sec ^2(x)^{3/2}}+\frac{2}{3} \operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{3/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{3 \sec ^2(x)^{3/2}}+\frac{2 \tan (x)}{3 \sqrt{\sec ^2(x)}}\\ \end{align*}
Mathematica [A] time = 0.0149289, size = 23, normalized size = 0.79 \[ \frac{(9 \sin (x)+\sin (3 x)) \sec (x)}{12 \sqrt{\sec ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.059, size = 21, normalized size = 0.7 \begin{align*}{\frac{\sin \left ( x \right ) \left ( \left ( \cos \left ( x \right ) \right ) ^{2}+2 \right ) }{3\, \left ( \cos \left ( x \right ) \right ) ^{3}} \left ( \left ( \cos \left ( x \right ) \right ) ^{-2} \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.08934, size = 34, normalized size = 1.17 \begin{align*} \frac{2 \, \tan \left (x\right )}{3 \, \sqrt{\tan \left (x\right )^{2} + 1}} + \frac{\tan \left (x\right )}{3 \,{\left (\tan \left (x\right )^{2} + 1\right )}^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.31181, size = 38, normalized size = 1.31 \begin{align*} -\frac{1}{3} \,{\left (\cos \left (x\right )^{2} + 2\right )} \sin \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.5059, size = 27, normalized size = 0.93 \begin{align*} \frac{2 \tan ^{3}{\left (x \right )}}{3 \left (\sec ^{2}{\left (x \right )}\right )^{\frac{3}{2}}} + \frac{\tan{\left (x \right )}}{\left (\sec ^{2}{\left (x \right )}\right )^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.35019, size = 22, normalized size = 0.76 \begin{align*} -\frac{1}{3} \, \mathrm{sgn}\left (\cos \left (x\right )\right ) \sin \left (x\right )^{3} + \mathrm{sgn}\left (\cos \left (x\right )\right ) \sin \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]